import request from "./request"

const routeApi = {
    all : (data)=>{
        return request.post('/admin/rbac/route/all',data)
    },
    add:(data)=>{
        return request.post('/admin/rbac/route/add',data)
    },
    update:(data)=>{
        return request.post('/admin/rbac/route/update',data)
    },

    del:(ids)=>{
        return request.post('/admin/rbac/route/del',{
            ids
        })
    }
}

export default routeApi